﻿using System.Collections.Generic;
using eCommerce.Core.Domain.Categorys;
using eCommerce.Core.Domain.Products;

namespace eCommerce.Models.Product
{
    public class CreateProductModel
    {
        public int ShopId { get; set; }
        public int Id { get; set; }
        public string ProductName { get; set; }
        public string ShortDescription { get; set; }
        public string FullDescription { get; set; }

        public bool IsPublished { get; set; }

        public string ProductAttributeKey{ get; set; }
        public string ProductAttributeValue{ get; set; }

        public bool UseProductAttribute { get; set; }
        
    }
    public class ProductModel
    {
        public int ShopId { get; set; }
        public int Id { get; set; }
        public string ProductName { get; set; }
        public string ShortDescription{ get; set; }
        public string FullDescription{ get; set; }

        public bool IsPublished{ get; set; }

     

        public IList<ProductCategoryModel> ProductCategories { get; set; }

        public IList<ProductBrandModel> ProductBrands{ get; set; }


        public IList<ProductAttributeKeyModel> ProductAttributeKeys{ get; set; }
        public IList<ItemAttributeKeyModel> ItemAttributeKeys{ get; set; }
        public int CategoryId { get; set; }
        public int BrandId { get; set; }
    }

    public class ItemAttributeKeyModel
    {

        public virtual int Id { get; set; }


    
        public virtual int DisplayOrder { get; set; }

        public virtual string Name { get; set; }

        public virtual bool Deleted { get; set; }

    }
}